Problems involving circles and the Pythagorean theorem